package zjut.raymond.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Access point
 *
 * @author Raymond
 * @Description wifi接入点
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_ap")
public class AccessPoint {
    /**
     * Id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * Ap name
     */
    private String apName;
    /**
     * Ap mac
     */
    private String apMac;
    /**
     * Region id
     */
    private Integer regionId;
    /**
     * Update time
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
